import Http from "@/http"

export function accountApi() {
    return Http.get('merchant/account')
}

export function updatePayeeApi(data){
    return Http.post('merchant/update/payee', data)
}

export function applyWithdrawalApi(amount:number){
    return Http.post('merchant/apply/withdrawal', {amount})
}

export function applyWithdrawalRecordPageApi(data){
    return Http.post('merchant/withdrawal/record', data)
}

export function revokeApplyApi(id){
    return Http.post('merchant/revoke/withdrawal', {id})
}
